package com.qinglei.recoup.system.pojo;

import com.excel.poi.annotation.ExportField;
import com.qinglei.recoup.system.domain.BedHealthDailyStatistics;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * Created by qTo on 2021/1/14.
 */
@Data
public class HealthVO {
    @ApiModelProperty(value = "床位ID")
    private Integer bedId;

    @ApiModelProperty(value = "床位名称")
    @ExportField(columnName = "床位名称")
    private String bedName;

//    @ApiModelProperty(value = "统计日期")
//    private LocalDate statisticsDate;

    @ApiModelProperty(value = "睡眠总时长 单位分钟")
    @ExportField(columnName = "睡眠总时长")
    private Integer sleepDuration;

    @ApiModelProperty(value = "深睡时长 单位分钟")
    @ExportField(columnName = "深睡时长")
    private Integer deepSleepDuration;

    @ApiModelProperty(value = "浅睡时长 单位分钟")
    @ExportField(columnName = "浅睡时长")
    private Integer lightSleepDuration;

    @ApiModelProperty(value = "清醒时长 单位分钟")
    @ExportField(columnName = "清醒时长")
    private Integer clearSleepDuration;

    @ApiModelProperty(value = "离床时长 单位分钟")
    @ExportField(columnName = "离床时长")
    private Integer outBedDuration;

    @ApiModelProperty(value = "离床次数")
    @ExportField(columnName = "离床次数")
    private Integer outBedNum;

    @ApiModelProperty(value = "体动次数")
    @ExportField(columnName = "体动次数")
    private Integer turnOverNum;

    @ApiModelProperty(value = "睡眠得分")
    @ExportField(columnName = "睡眠得分")
    private Long score;

    @ApiModelProperty(value = "呼吸紊乱指数AHI")
    @ExportField(columnName = "呼吸紊乱指数AHI")
    private Double ahi;

    @ApiModelProperty(value = "诊断结果")
    @ExportField(columnName = "诊断结果")
    private Double diagnosisResults;

    private Integer countNum;
    @ApiModelProperty(value = "跌倒")
    private Integer fall;
    @ApiModelProperty(value = "跌倒对比，0不变，1增长，-1减少，2无对比")
    private Integer fallContrast;
    @ApiModelProperty(value = "情绪")
    private Integer morale;
    @ApiModelProperty(value = "情绪对比，0不变，1增长，-1减少，2无对比")
    private Integer moraleContrast;
    @ApiModelProperty(value = "活力")
    private Integer vitality;
    @ApiModelProperty(value = "活力对比，0不变，1增长，-1减少，2无对比")
    private Integer vitalityContrast;
    @ApiModelProperty(value = "ahi状态")
    private String comment;
    @ApiModelProperty(value = "睡眠曲线")
    private Map<String,Long> bedHealthDailyStatistics;
    private Integer sumSleep;
    private Integer avgSleep;
    private Long avgScore;

    private String sn;


}
